package com.service.socket.common.enums;

import lombok.Getter;

public enum MsgSendType {

    ping(1, "ping"),
    pong(1, "pong"),
    subbed(2,"subbed"),
    unsubbed(3,"unsubbed"),
    handicap(4, "handicap"),
    kline(5, "kline"),
    spot_trade(6, "spot_trade"),
    kline_statistics(7, "kline_statistics"),
    ;
    @Getter
    private Integer code;

    @Getter
    private String msg;

    MsgSendType(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
